var auto = require('hy5b/auto')
var citys = require('hy5b/geo/city')
var city = ['上海', '北京', '南京', '合肥', '哈尔滨', '乌鲁木齐', '嘉兴', '杭州', '重庆', '昆明']
var date = ['2019-03-27','2019-03-28','2019-03-29','2019-03-30','2019-03-21','2019-03-26']
var data = auto({
  "data|100": [{
    uid: function() {
      return auto.Random.guid().toLowerCase().replace(/-/g, '');
    },
    'area|1': city,
    lat: function() { return citys[this.area][0] },
    lon: function() { return citys[this.area][1] },
    'count|0-9999': 1,
    'aa|1': ['交换机','网桥','路由器','网关','防火墙','打印机'],
    'date|1': date
  }]
})

console.log(data.data);